Crate zksync_contracts
source ·Expand description
Set of utility functions to read contracts both in Yul and Sol format.
Careful: some of the methods are reading the contracts based on the workspace environment variable.
Modules§
Structs§
- Hash of code and code which consists of 32 bytes words
- Structure representing a system contract repository - that allows fetching contracts that are located there. As most of the static methods in this file, is loading data based on the Cargo workspace location.
Enums§
Statics§
Functions§
- Reads test contract bytecode and its ABI.
- Reads bytecode from the path RELATIVE to the Cargo workspace location.
- Reads zbin bytecode from a given path, relative to workspace location.